package com.yingxin.yxerp.module.activiti.api;

import com.yingxin.yx.framework.commons.activiti.dto.ActivitiInstanceDto;
import com.yingxin.yx.framework.commons.enums.BusinessType;

import java.util.List;
import java.util.function.Function;

public interface ProcessQueryService {

    ActivitiInstanceDto getProcessByBusinessKey(String businessKey);

    // Map<String, String> findTaskIdByLoginUser(BusinessType bizType);

    <T> void collectTaskId(List<T> list, Function<T, String> function, BusinessType... businessTypeList);

}
